package com.bjpowernode.boss.mvc.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.bjpowernode.boss.domain.PayWay;
import com.bjpowernode.boss.mvc.model.query.PayWayQuery;
import com.bjpowernode.boss.mvc.model.vo.DitOptionVo;

import java.util.List;

/**
 * 业务接口
 */
public interface PayWayService extends IService<PayWay> {

    List<DitOptionVo> loadPayWayOption();

    List<DitOptionVo> loadPayTypeOption(String wayCode);

    void addPayWayConfig(PayWayQuery payWayQuery);

    IPage<PayWay> loadWayTablePageData(Integer pageNo, Integer pageSize , String productCode);

    void removePayWayConfig(String productCode, String wayCode, String typeCode);
}
